package com.pioneer.web.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.pioneer.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据库备份管理
 *
 * @Author wf
 * @Date 2023-03-14 11:35:34
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class SysDatabase extends BaseEntity {

    private static final long serialVersionUID = 6566361799587784970L;

    /**
     * 编号id
     */
    @TableId(type = IdType.AUTO)
    private Long databaseId;

    /**
     * 数据库名称
     */
    private String name;

    /**
     * 备份路径
     */
    private String url;

}
